package org.syndicate.domain;

import org.springframework.roo.addon.entity.RooEntity;
import org.springframework.roo.addon.javabean.RooJavaBean;
import org.springframework.roo.addon.tostring.RooToString;
import org.syndicate.domain.Company;
import javax.persistence.ManyToOne;

/**
 * Lenders share.
 * 
 * @author akiraabe
 */
@RooJavaBean
@RooToString
@RooEntity
public class Share {

    @ManyToOne
    private Company owner;

    private Double amount;
    
    private String name;
}
